package com.huluobo.lc.libnetwork;

/**
 * @author Lc
 * @description: 功能:返回的回调,成功,失败,或者缓存成功时会发起回调
 * @date :2020/7/9 11:51
 */
public abstract class JsonCallback<T> {
    public void onSuccess(ApiResponse<T> response) {

    }

    public void onError(ApiResponse<T> response) {

    }

    public void onCacheSuccess(ApiResponse<T> response) {

    }
}
